<%-- 
    Document   : index
    Created on : 8 Nov, 2010, 4:11:14 PM
    Author     : Campus 2
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%-- <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" --%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
<body>
<h1 align="center">Dashboard</h1>
<p>

<%
	String flag=(String)request.getAttribute("styles");
	if(flag.equalsIgnoreCase("true")){
		out.println("Welcome Legitimate User");
	}
	else{
		out.println("Oops!! You are not authorized");
	}
%>


<!--<table>-->
<!--	<c:forEach var="elem" items="${styles}">-->
<!--	<tr>-->
<!--		<td>${elem}</td>-->
<!--	</tr>-->
<!--	</c:forEach>-->
<!--</table>-->
<!---->
<!---->
<!--<c:catch var="myException">-->
<!--	Inside the catch...-->
<!--	After the catch...-->
<!--</c:catch>-->
<!---->
<!--<c:if test="${myException!=null}">-->
<!--	There was an exception : ${myException.message} <br>-->
<!--</c:if>-->
<!---->
<!--We survived-->

</body>
</html>